View attributes LrView text properties

These properties are used by controls with editable or static text:
  • edit_field
  • combo_box
  • password_field
  • popup_menu
  • static_text
  • push_button

Summary

Calculates the minimum height using this as the number of lines that should fit.
Calculates the minimum width using this as the number of m characters that should fit.
Calculates the minimum width using this as the number of 0 digits that should fit.

Properties

height_in_lines : (Read-Only)
Calculates the minimum height using this as the number of lines that should fit. If height_in_lines is set to -1, and width or width_in_digits or width_in_chars is specified, text wraps. (number, default: 1)

First supported in version 1.3 of the Lightroom SDK.

width_in_chars : (Read-Only)
Calculates the minimum width using this as the number of m characters that should fit. Considered together with width_in_digits. If height_in_lines is set to -1, and width or width_in_digits or width_in_chars is specified, text wraps. (number, default: 15)

First supported in version 1.3 of the Lightroom SDK.

width_in_digits : (Read-Only)
Calculates the minimum width using this as the number of 0 digits that should fit. Considered together with width_in_chars. If height_in_lines is set to -1, and width or width_in_digits or width_in_chars is specified, text wraps. (number, default: 0)

First supported in version 1.3 of the Lightroom SDK.